.container {
  padding: 0 1rem;
  width: 100%;
  transition: background 0.2s ease;

  &:hover {
    @media (prefers-color-scheme: dark) {
      background: var(--color-gray-100);
    }
  }
}

.resolution {
  background-color: var(--color-green-50);
  border-radius: 4px;

  .badge {
    margin-top: 0.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 400;
    margin-bottom: 1rem;
  }
}

@media (prefers-color-scheme: dark) {
  .resolution {
    background-color: var(--color-green-900);
  }
}

.row {
  display: flex;
  gap: 0.75rem;
  position: relative;
  width: 100%;
}

.left {
  display: flex;
  min-width: 36px;
  width: 36px;
  justify-content: center;
}

.left.sm {
  min-width: 26px;
  width: 26px;
}

.left .date {
  align-self: center;
  display: flex;
  font-size: 10px;
  white-space: nowrap;
}

.content {
  position: relative;
  width: 100%;
}

.username {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1;
  color: var(--color-text);
}

.header {
  align-items: center;
  color: var(--color-gray-600);
  display: flex;
  flex-direction: row;
  font-size: 0.75rem;
  gap: 0.375rem;
}

.date {
  color: var(--color-gray-600);
  font-size: 0.75rem;
}

.message {
  position: relative;
}

.actions {
  display: flex;
  background: var(--color-background);
  border-radius: 4px;
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 2px var(--color-border);
  color: var(--color-text);
  position: absolute;
  top: 0;
  right: 1.5rem;
  padding: 0;
}

.drag {
  pointer-events: none;
}

.role {
  color: var(--color-green-700);
  border-radius: 0.25rem;
}
